package com.kantboot.global.rest.result;

import com.kantboot.util.common.result.entity.StateCodeAndMsgEntity;

/**
 * 通用成功状态码和消息
 */
public class CommonSuccessStateCodeAndMsg {

    /**
     * 获取成功
     */
    public static final StateCodeAndMsgEntity GET_SUCCESS = StateCodeAndMsgEntity.of("getSuccess", "获取成功");

    /**
     * 设置成功
     */
    public static final StateCodeAndMsgEntity SET_SUCCESS = StateCodeAndMsgEntity.of("setSuccess", "设置成功");

    /**
     * 删除成功
     */
    public static final StateCodeAndMsgEntity REMOVE_SUCCESS = StateCodeAndMsgEntity.of("removeSuccess", "删除成功");

    /**
     * 修改成功
     */
    public static final StateCodeAndMsgEntity CHANGE_SUCCESS = StateCodeAndMsgEntity.of("changeSuccess", "修改成功");

    /**
     * 退出登录成功
     */
    public static final StateCodeAndMsgEntity LOGOUT_SUCCESS = StateCodeAndMsgEntity.of("logoutSuccess", "退出登录成功");

    /**
     * 操作成功
     */
    public static final StateCodeAndMsgEntity OPERATION_SUCCESS = StateCodeAndMsgEntity.of("operationSuccess", "操作成功");

    /**
     * 保存成功
     */
    public static final StateCodeAndMsgEntity SAVE_SUCCESS = StateCodeAndMsgEntity.of("saveSuccess", "保存成功");

    /**
     * 上传成功
     */
    public static final StateCodeAndMsgEntity UPLOAD_SUCCESS = StateCodeAndMsgEntity.of("uploadSuccess", "上传成功");

    /**
     * 发送成功
     */
    public static final StateCodeAndMsgEntity SEND_SUCCESS = StateCodeAndMsgEntity.of("sendSuccess", "发送成功");

    /**
     * 登录成功
     */
    public static final StateCodeAndMsgEntity LOGIN_SUCCESS = StateCodeAndMsgEntity.of("loginSuccess", "登录成功");

    /**
     * 注册成功
     */
    public static final StateCodeAndMsgEntity REGISTER_SUCCESS = StateCodeAndMsgEntity.of("registerSuccess", "注册成功");

    /**
     * 绑定成功
     */
    public static final StateCodeAndMsgEntity BIND_SUCCESS = StateCodeAndMsgEntity.of("bindSuccess", "绑定成功");

    /**
     * 跳过绑定成功
     */
    public static final StateCodeAndMsgEntity SKIP_BIND_SUCCESS = StateCodeAndMsgEntity.of("skipBindSuccess", "跳过绑定成功");

    /**
     * 发送验证码成功
     */
    public static final StateCodeAndMsgEntity SEND_VERIFICATION_CODE_SUCCESS = StateCodeAndMsgEntity.of("sendVerificationCodeSuccess", "发送验证码成功");

    /**
     * 发布成功
     */
    public static final StateCodeAndMsgEntity PUSH_SUCCESS = StateCodeAndMsgEntity.of("pushSuccess", "发布成功");

}
